import { constantRoutes } from '@/router/index'
const state = {
  menusList: [...constantRoutes]
}
const mutations = {
  getMenusList(state, filteredRoutes) {
    state.menusList = [...constantRoutes, ...filteredRoutes]
  }
}
export default {
  namespaced: true,
  state,
  mutations
}
